home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1990 September: Essentials 4 / ADC Developer CD (1990-09) [Essentials 4]_iso / Developer Essentials 4.iso / d e v e l o p / develop 4 code / Poly. in Code Resources / Virtual WDEF / IconWDEF.h < prev    next >
MacBinary  |  1990-07-28  |  1.4 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sat Jul 28 14:04:16 1990, modified Sat Jul 28 14:04:16 1990, creator 'MPS ', type ASCII, 874 bytes "IconWDEF.h" , at 0x3ea 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 49 63 6f 6e 57 44 | 45 46 2e 68 00 00 00 00 |..IconWD|EF.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 01 40 00 00 00 |.TEXTMPS| ...@...|
|00000050| 00 00 00 00 00 03 6a 00 | 00 01 7e a2 d7 84 20 a2 |......j.|..~... .|
|00000060| d7 84 20 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.. .....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a9 5b 00 00 |........|.....[..|
|00000080| 2f 2a 0d 09 49 63 6f 6e | 57 44 45 46 2e 68 0d 09 |/*..Icon|WDEF.h..|
|00000090| 0d 09 49 6e 74 65 72 66 | 61 63 65 20 74 6f 20 49 |..Interf|ace to I|
|000000a0| 63 6f 6e 20 77 69 6e 64 | 6f 77 20 64 65 66 69 6e |con wind|ow defin|
|000000b0| 69 74 69 6f 6e 20 63 6c | 61 73 73 2e 0d 09 0d 09 |ition cl|ass.....|
|000000c0| 62 79 20 50 61 74 72 69 | 63 6b 20 42 65 61 72 64 |by Patri|ck Beard|
|000000d0| 2e 0d 0d 09 a9 31 39 39 | 30 20 62 79 20 50 61 74 |.....199|0 by Pat|
|000000e0| 72 69 63 6b 20 43 2e 20 | 42 65 61 72 64 2e 20 20 |rick C. |Beard. |
|000000f0| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00000100| 76 65 64 2e 0d 20 2a 2f | 0d 0d 23 69 66 6e 64 65 |ved.. */|..#ifnde|
|00000110| 66 20 5f 5f 49 43 4f 4e | 57 44 45 46 5f 5f 0d 23 |f __ICON|WDEF__.#|
|00000120| 64 65 66 69 6e 65 20 5f | 5f 49 43 4f 4e 57 44 45 |define _|_ICONWDE|
|00000130| 46 5f 5f 0d 0d 23 69 66 | 6e 64 65 66 20 5f 5f 57 |F__..#if|ndef __W|
|00000140| 49 4e 44 4f 57 46 52 41 | 4d 45 5f 5f 0d 23 69 6e |INDOWFRA|ME__.#in|
|00000150| 63 6c 75 64 65 20 22 57 | 69 6e 64 6f 77 46 72 61 |clude "W|indowFra|
|00000160| 6d 65 2e 68 22 0d 23 65 | 6e 64 69 66 0d 0d 63 6c |me.h".#e|ndif..cl|
|00000170| 61 73 73 20 49 63 6f 6e | 57 69 6e 64 6f 77 44 65 |ass Icon|WindowDe|
|00000180| 66 20 3a 20 70 75 62 6c | 69 63 20 57 69 6e 64 6f |f : publ|ic Windo|
|00000190| 77 46 72 61 6d 65 20 7b | 0d 70 75 62 6c 69 63 3a |wFrame {|.public:|
|000001a0| 0d 09 2f 2f 20 77 69 6e | 64 6f 77 20 6d 65 74 68 |..// win|dow meth|
|000001b0| 6f 64 73 2e 0d 09 76 69 | 72 74 75 61 6c 20 76 6f |ods...vi|rtual vo|
|000001c0| 69 64 20 4e 65 77 28 57 | 69 6e 64 6f 77 50 65 65 |id New(W|indowPee|
|000001d0| 6b 20 74 68 65 57 69 6e | 64 6f 77 29 3b 0d 09 76 |k theWin|dow);..v|
|000001e0| 69 72 74 75 61 6c 20 76 | 6f 69 64 20 43 61 6c 63 |irtual v|oid Calc|
|000001f0| 52 67 6e 73 28 29 3b 09 | 09 09 2f 2f 20 77 65 20 |Rgns();.|..// we |
|00000200| 68 61 76 65 20 64 69 66 | 66 65 72 65 6e 74 20 72 |have dif|ferent r|
|00000210| 65 67 69 6f 6e 73 20 77 | 68 65 6e 20 69 63 6f 6e |egions w|hen icon|
|00000220| 69 66 69 65 64 2e 0d 09 | 76 69 72 74 75 61 6c 20 |ified...|virtual |
|00000230| 76 6f 69 64 20 44 72 61 | 77 46 72 61 6d 65 28 29 |void Dra|wFrame()|
|00000240| 3b 09 09 09 2f 2f 20 77 | 65 20 64 72 61 77 20 61 |;...// w|e draw a|
|00000250| 6e 20 69 63 6f 6e 20 69 | 66 20 63 65 72 74 61 69 |n icon i|f certai|
|00000260| 6e 20 73 69 7a 65 2e 0d | 09 76 69 72 74 75 61 6c |n size..|.virtual|
|00000270| 20 6c 6f 6e 67 20 48 69 | 74 28 50 6f 69 6e 74 26 | long Hi|t(Point&|
|00000280| 20 77 68 65 72 65 48 69 | 74 29 3b 0d 70 72 69 76 | whereHi|t);.priv|
|00000290| 61 74 65 3a 0d 09 42 6f | 6f 6c 65 61 6e 20 69 63 |ate:..Bo|olean ic|
|000002a0| 6f 6e 69 66 69 65 64 3b | 09 09 09 09 09 2f 2f 20 |onified;|.....// |
|000002b0| 73 74 61 74 65 20 6f 66 | 20 6f 75 72 20 77 69 6e |state of| our win|
|000002c0| 64 6f 77 2e 0d 09 42 6f | 6f 6c 65 61 6e 20 65 76 |dow...Bo|olean ev|
|000002d0| 65 72 49 63 6f 6e 69 66 | 69 65 64 3b 09 09 09 09 |erIconif|ied;....|
|000002e0| 2f 2f 20 69 66 20 77 65 | 27 76 65 20 65 76 65 72 |// if we|'ve ever|
|000002f0| 20 62 65 65 6e 20 69 63 | 6f 6e 69 66 69 65 64 2e | been ic|onified.|
|00000300| 0d 09 42 6f 6f 6c 65 61 | 6e 20 72 65 71 75 65 73 |..Boolea|n reques|
|00000310| 74 69 6e 67 53 74 61 74 | 65 43 68 61 6e 67 65 3b |tingStat|eChange;|
|00000320| 09 09 2f 2f 20 77 65 20 | 77 61 6e 74 20 74 6f 20 |..// we |want to |
|00000330| 63 68 61 6e 67 65 20 6f | 75 72 20 73 74 61 74 65 |change o|ur state|
|00000340| 2e 0d 09 73 68 6f 72 74 | 20 63 61 6c 63 52 67 6e |...short| calcRgn|
|00000350| 73 43 6f 75 6e 74 3b 09 | 09 09 09 2f 2f 20 61 20 |sCount;.|...// a |
|00000360| 63 6f 75 6e 74 65 72 2e | 0d 09 52 65 63 74 20 69 |counter.|..Rect i|
|00000370| 63 6f 6e 69 66 79 52 65 | 63 74 3b 09 09 09 09 09 |conifyRe|ct;.....|
|00000380| 2f 2f 20 70 6c 61 63 65 | 20 74 6f 20 68 69 74 20 |// place| to hit |
|00000390| 74 6f 20 69 63 6f 6e 69 | 66 79 20 77 69 6e 64 6f |to iconi|fy windo|
|000003a0| 77 2e 0d 09 50 6f 69 6e | 74 20 69 63 6f 6e 69 66 |w...Poin|t iconif|
|000003b0| 69 65 64 4c 6f 63 61 74 | 69 6f 6e 3b 09 09 09 2f |iedLocat|ion;.../|
|000003c0| 2f 20 77 68 65 72 65 20 | 74 6f 20 70 75 74 20 77 |/ where |to put w|
|000003d0| 68 65 6e 20 69 63 6f 6e | 69 66 69 65 64 2e 0d 7d |hen icon|ified..}|
|000003e0| 3b 0d 0d 23 65 6e 64 69 | 66 0d 00 00 00 00 00 00 |;..#endi|f.......|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000410| 68 65 57 6f 72 6c 64 29 | 20 7b 0d 09 09 74 68 65 |heWorld)| {...the|
|00000420| 57 6f 72 6c 64 2d 3e 4f | 75 72 57 6f 72 6c 64 28 |World->O|urWorld(|
|00000430| 0a 49 63 6f 6e 57 44 45 | 46 2e 68 57 02 00 00 00 |.IconWDE|F.hW....|
|00000440| 54 45 58 54 4d 50 53 20 | 01 00 01 40 00 00 00 00 |TEXTMPS |...@....|
|00000450| 00 00 54 45 58 54 4d 50 | 53 20 01 00 01 40 00 00 |..TEXTMP|S ...@..|
|00000460| 00 00 00 e6 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 a2 5d 56 73 00 00 | 03 6a 00 00 01 7e 6e 20 |...]Vs..|.j...~n |
|00000480| 41 35 20 77 6f 72 6c 64 | 2e 0d 09 09 74 68 65 57 |A5 world|....theW|
|00000490| 6f 72 6c 64 20 3d 20 6e | 65 77 20 41 35 57 6f 72 |orld = n|ew A5Wor|
|000004a0| 6c 64 3b 0d 09 09 69 66 | 28 21 74 68 65 57 6f 72 |ld;...if|(!theWor|
|000004b0| 6c 64 20 7c 7c 20 74 68 | 65 57 6f 72 6c 64 2d 3e |ld || th|eWorld->|
|000004c0| 45 72 72 6f 72 28 29 29 | 20 7b 0d 09 09 09 64 65 |Error())| {....de|
|000004d0| 6c 65 74 65 20 74 68 65 | 57 6f 72 6c 64 3b 0d 09 |lete the|World;..|
|000004e0| 09 09 62 72 65 61 6b 3b | 0d 09 09 7d 0d 09 09 74 |..break;|...}...t|
|000004f0| 68 65 57 69 6e 64 6f 77 | 2d 3e 64 61 74 61 48 61 |heWindow|->dataHa|
|00000500| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 0a 00 df |...H..Mo|naco....|
|00000510| 00 00 00 09 00 2d 02 0a | 7f ff 00 ea 00 00 00 09 |.....-..|........|
|00000520| 00 2d 02 0a 7f ff 00 06 | 00 04 00 3b 00 24 01 dc |.-......|...;.$..|
|00000530| 02 3d 00 3b 00 24 01 dc | 02 3d a2 d7 3d d0 00 00 |.=.;.$..|.=..=...|
|00000540| 00 f4 00 00 01 01 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000550| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 29 5c cc |...L...L|...2.)\.|
|00000560| 0f 6e 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.n.....2|..MPSR..|
|00000570| 00 0a 03 ed ff ff 00 00 | 00 00 00 2b 02 84 00 00 |........|...+....|
+--------+-------------------------+-------------------------+--------+--------+